﻿// ===============================================================================
// GroupedFromValueCollection.cs
// EOS Web Framework
// ===============================================================================
// Copyright (c) EOS Development Group. All rights reserved.
// ===============================================================================

namespace EOS.Framework.Web.Mvc.Controls
{
    using System;
    using System.Collections.Specialized;
    using System.Runtime.Serialization;

    [Serializable]
    public class GroupedFormValueDictionary : FormValueDictionaryBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="GroupedFormValueDictionary"/> class.
        /// </summary>
        public GroupedFormValueDictionary()
            : base()
        { }

        /// <summary>
        /// Initializes a new instance of the <see cref="GroupedFormValueDictionary"/> class
        /// with a collection to make a copy from.
        /// </summary>
        /// <param name="collection">The collection.</param>
        public GroupedFormValueDictionary(NameValueCollection collection)
            : base(collection)
        { }

        /// <summary>
        /// Initializes a new instance of the <see cref="GroupedFormValueDictionary"/> class.
        /// </summary>
        /// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo"/> object containing the 
        /// information required to serialize the <see cref="T:System.Collections.Generic.Dictionary`2"/>.</param>
        /// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext"/> structure containing the source 
        /// and destination of the serialized stream associated with the <see cref="T:System.Collections.Generic.Dictionary`2"/>.</param>
        protected GroupedFormValueDictionary(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }
}
